<template>
  <a
    @click.prevent="clickHandler"
    class="bg-blue-100 rounded-lg p-1.5 text-blue-600 transition-colors duration-200 dark:bg-slate-800 dark:text-blue-600"
    ><vs-tooltip text="问答" position="top">
      <svg
        xmlns="http://www.w3.org/2000/svg"
        class="h-6 w-6"
        viewBox="0 0 24 24"
        stroke-width="2"
        stroke="currentColor"
        fill="none"
        stroke-linecap="round"
        stroke-linejoin="round"
      >
        <path stroke="none" d="M0 0h24v24H0z" fill="none"></path>
        <path
          d="M21 14l-3 -3h-7a1 1 0 0 1 -1 -1v-6a1 1 0 0 1 1 -1h9a1 1 0 0 1 1 1v10"
        ></path>
        <path d="M14 15v2a1 1 0 0 1 -1 1h-7l-3 3v-10a1 1 0 0 1 1 -1h2"></path>
      </svg>
    </vs-tooltip>
  </a>
</template>

<script setup>
import { useRouter } from "vue-router";

const router = useRouter();

const clickHandler = () => {
  // router.push({ path: "/chat" });
};
</script>
